package com.cxyzy.clipboardchannel

import android.app.Application
import android.content.IntentFilter
import com.cxyzy.clipboardchannel.ClipperReceiver.*


class App :Application()
{
    override fun onCreate() {
        super.onCreate()
        val filter = IntentFilter()

        filter.addAction(ACTION_GET)
        filter.addAction(ACTION_GET_SHORT)
        filter.addAction(ACTION_SET)
        filter.addAction(ACTION_SET_SHORT)

        registerReceiver(ClipperReceiver(), filter)

    }

}